package cn.edu.neusoft.amicooldemo.factory;

import cn.edu.neusoft.amicooldemo.iface.FocusListIface;
import cn.edu.neusoft.amicooldemo.model.MyFocusModel;

/**
 * Created by Neusoft on 2016/12/22.
 */

public class FocusFactory {
    public static FocusListIface getInstance(String url){
        switch (url){
            case "user":
                return MyFocusModel.getInstance();
            default:
                return null;
        }

    }
}
